directory ops moved to directory.c
get_request_len() moved to string.c