File as virtual resource