Fix bug in forward.cpp
For now ignore all ppm files.