taking account the case there is only one file