Go to System Preferences > Sharing and turn on File Sharing. You should be able to see the other Mac in the sidebar in Finder under sharing or you could click Command+K or click Go > Connect to server and type "afp://" followed by the IP address of the Mac you wish to connect to.