Update .gitignore for test files
Aptofiles WIP
Refactor SetLocation function