Fixes an issue with trying to instantiate a FIle model without a file name