File handling changed

Rewrote file handling to use FileSystem class, enabling the usage of
prgress bars and advanced error handling as well as moving file to the
trash bin instead of permantently deleting them (that's what you get if
you don't do enough research)