Removed unnecessary sections and added trace file input