removing code block for removing files