detect ftype on guardfile