space before ] in [ -f filename ] as shell is stupid