Fix for files with urls in preface
Prepare for extending to other figures