incremental commit, currently adding functions that perform the filechecks, some cleanup necessary after finished