Corrected file test function to use gerb_file operations a good way.