What do you think about naming it $removeFilePrefix based on usage below?