Added ability to switch files for mobile