LEAD-489 return file so for logging purposes.
LEAD-489 return null file for now.
LEAD-489 when name passed in is not absolute path, we detect using name not start with slash, then the name is append to the directory absolutepath and its name. added also logging.
LEAD-489 getAll is a boolean where if true, will return all row irrespect even if the file descriptor is null or has isdeleted set to true.
LEAD-489 only get files which is not deleted only.
LEAD-489 when write(byte, int, len) was overright, we do no need set again the file to delete because with delete, the state file is deleted and cannot be read when elasticsearch is restarted.
LEAD-489 we now use this method but change the method signature.