moving file system components into util class