starting remove file function

#233
removing works

closes #233