Adding rough of file validation