Added code to remove attachment files from the filesystem