test file check in and other function