FileView: Code cleanup