prefix is filename not directory