A flexible file loader for the Spirit static file generator