Removed check if file exists: it gave problems with using windows mounted directories: it always returned false, even if it fact existed.