Checking if the file exists first (closes: #64)