Moved filesystem.c to seperate folder