Moved the file-existence-checking to the files package.