convenience method for multiframes
tool for making relative file paths more robust