check file creation implement