Updated for Processing 2; better file handling