else statement added if the file does not exits