Forgot to remove the import for file.* module functions not applicable to Windows.