Added the function that creates the fsl file