Changes the way shelf was handling file paths