Trying to use files as resource