Add applyFile() for loading dynamic shapes.