Extract method filename