ah no sorry, I confused getRealPath and getFilename