created class FileHandler that handles creation ond deletion of files