Move assembly file parsing to separate file