Separated gps.js and file.js