Uploading file and graphing into wrong interface