Added feature for deleting a file