Build file for SAM