Check for right file