Add debug code. Check if file exists.