Added Filesystem class
- removed global functions tempfile, rrmdir, mime_type, file_extension