Fixed problem with plotdb.py where the filename array was indexed in the wrong way(mixed up cols and rows).