Ajout de trois methodes fileExists, dirExists et createDirectory.