Fix for file-input directive bug.