Worked on CM and added deleteFile()