Note that get_param works, but it prevents the client from magically including the files you want. So you can still use it, but you have to explicitly pass all of the files you might need to the ReST API.
An alternative might be to pass the entire file as a parameter rather than using get_file.