Added comment support to file input. Added partial test cases to tracefile.