Wrap file with an AMD wrapper