Fix: use only files in basepath