Fixed majority of the compiler errors. PLS FIX getFile()