Added extra file functionality

Added extra file functionality