FileScript implementation