Add back open file functionality