added test file and integrated line_sizer into file indexer