Rearrange order of file flag code
Merge branch 'master' of github.com:jasonwhite/io