changed listing all invalid SP level file elements only in debug mode