resolved breaks on subdirectories
added script to check for specific file signature