check file type + readme