removed file level options and obsolete code