Same here, if files are remote files, I don't getAbsolutePath() will work.