File source is not detected on Windows even if file name is correct