fixed file loading and Audio recording