Syntax fix with file resource

Fix syntax with File resource.
Bug-Fix