renamed variables
added file type section