Minor refactor
Added global file CLI option