Optimize file location