turn off error message
move file delete button to File class