Changed file system path directory to a resource file