added directory index to file struct to make removing files easier