Renamed file resource to use loadfile_name if provided.
Merge pull request #746 from mhaskel/rename_mod_load

Renamed file resource to use loadfile_name if provided.