Cleanup file loading, add metadata display.