How to setup a File resource.