Made boolean columns checkboxes. Made file type check more robust.