Used apache common io to copy file from local to app