Remove 'script' part from file regex.