Support for resources as files