Updated file test to work on any system.