all files should end in a newline
use parent directories to distinguish buffers of the same name