Local file on EC2 bug fixed