do not send dot when file is on root dir