+ current_filename = strdup(filename);
+ current_filename_short = strdup(name);
+}
+
+FILE*enter_file2(const char*name, const char*filename, void*state)
+{
+ enter_file(name, filename, state);
+ FILE*fi = fopen(filename, "rb");
+ if(!fi) {
+ as3_error("Couldn't find file %s: %s", filename, strerror(errno));
+ }
+ return fi;