Improve python script for acceptance tests to handle any file comparison.