root files not able to be accessed outside of FileSystem class