started porting over file system checks