Switched back to using a file